import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { Button, Tabbar, TabbarItem, Form, Field, NavBar, Search, Swipe, SwipeItem, Icon, IndexBar, IndexAnchor, Grid, GridItem, Cell, CellGroup } from 'vant'

Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Form)
Vue.use(Field)
Vue.use(NavBar)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Icon)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Cell)
Vue.use(CellGroup)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
